package com.liveinstars.api.config;

import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Aspect;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * Created by guoyanjiang on 2019-01-07.
 */
@Aspect
@Component
public class FeignAspect {

    Logger logger = LoggerFactory.getLogger(getClass());

    //todo 埋点方案待定
//    @Around("execution(* com.liveinstars.api..*.com.liveinstars.activity.application.service..*(..))")
    public Object feignService(ProceedingJoinPoint point) throws Throwable {
        return point.proceed();
    }
}
